/**
 *
 */
package com.evil.Bean;

import java.sql.Blob;
import java.util.Date;

/******************************************
 * 工程名：EdaSupport<br>
 * 包名：com.evil.User<br>
 * 时间：2016年7月24日 上午10:37:55<br>
 * 作者：白雨濃 evil<br>
 * 邮箱：evilbai@foxmail.com<br>
 * 内容：用户信息<br>
 ******************************************/
public class UserBean
{
    private String phone;
    private String imei;
    private String name;
    private Blob img;/*暂定*/
    private int integral;
    private boolean blackList;
    private Date registration_time;
    private Date lastlogin_time;
    private int times;

    public UserBean()
    {
    }

    public UserBean(String phone, String imei, String name, int integral, boolean blackList, Date registration_time, Date lastlogin_time, int times)
    {
        this.phone = phone;
        this.imei = imei;
        this.name = name;
        this.integral = integral;
        this.blackList = blackList;
        this.registration_time = registration_time;
        this.lastlogin_time = lastlogin_time;
        this.times = times;
    }

    public UserBean(String phone, String imei, String name)
    {
        this.phone = phone;
        this.imei = imei;
        this.name = name;
    }

    public UserBean(String phone, String imei)
    {
        this.phone = phone;
        this.imei = imei;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getImei()
    {
        return imei;
    }

    public void setImei(String imei)
    {
        this.imei = imei;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public Blob getImg()
    {
        return img;
    }

    public void setImg(Blob img)
    {
        this.img = img;
    }

    public int getIntegral()
    {
        return integral;
    }

    public void setIntegral(int integral)
    {
        this.integral = integral;
    }

    public boolean isBlackList()
    {
        return blackList;
    }

    public void setBlackList(boolean blackList)
    {
        this.blackList = blackList;
    }

    public Date getRegistration_time()
    {
        return registration_time;
    }

    public void setRegistration_time(Date registration_time)
    {
        this.registration_time = registration_time;
    }

    public Date getLastlogin_time()
    {
        return lastlogin_time;
    }

    public void setLastlogin_time(Date lastlogin_time)
    {
        this.lastlogin_time = lastlogin_time;
    }

    public int getTimes()
    {
        return times;
    }

    public void setTimes(int times)
    {
        this.times = times;
    }

    @Override
    public String toString()
    {
        return "UserBean{" +
                "phone='" + phone + '\'' +
                ", imei='" + imei + '\'' +
                ", name='" + name + '\'' +
                ", integral=" + integral +
                ", blackList=" + blackList +
                ", registration_time=" + registration_time +
                ", lastlogin_time=" + lastlogin_time +
                ", times=" + times +
                '}';
    }
}
